﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Veralkohol.Commons
{
    [Serializable]
    public class PersistentAlcoholicData
    {
        public int day { get; set; }
        public int hour { get; set; }
        public int minute { get; set; }
        public List<PersistentDrink> drinks { get; set; }

    }

    [Serializable]
    public class PersistentDrink
    {
        public double percentage { get; set; }
        public double quantity { get; set; }
        public string drinkname { get; set; }
        public string imagename { get; set; }
    }

    [Serializable]
    public class PersistentDiagram
    {
        public string xfrom { get; set; }
        public string xto { get; set; }
        public double yfrom { get; set; }
        public double yto { get; set; }
        public double weight { get; set; }
        public List<PersistentAlcoholicData> Drunked { get; set; }
    }

}
